import { _decorator, Component, Node } from 'cc';
import { TextLog } from './TextLog';
const { ccclass, property } = _decorator;

@ccclass('TestLog')
export class TestLog extends Component {
    start() {}

    update(deltaTime: number) {
        TextLog.instance.log('hp', '100');
        TextLog.instance.log('mp', '999999');
        TextLog.instance.log('deltaTime', deltaTime.toFixed(2));
    }
}
